class Right < ActiveRecord::Base
  belongs_to :user
  def after_create
    self.self_edit     = true
    self.self_create   = true
    self.self_approve  = false
    self.other_edit    = false
    self.other_create  = false
    self.other_approve = false

    self.save
  end
end
